package com.pro01.backend.pojo;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class UserPromotion {
    private Long id;
    private Long userId;
    private Long torrentId;
    private String promotionType;   // ENUM: 'FREE', 'DOUBLE_UPLOAD', 'SEED_BONUS'
    private Long bonusCredit;       // 奖励的贡献值
    private Integer bonusUpload;    // 虚拟上传量
    private Integer bonusDownload;  // 虚拟减少下载次数
    private Timestamp createdAt;    // 创建时间
}
